package DesignPattern.Behavior.State.Before;

public interface ILift {
    // 四个电梯状态常量
    int OPENING_STATE = 0;
    int CLOSING_STATE = 1;
    int RUNNIUNG_STATE = 2;
    int STOPPING_STATE = 3;

    void setState(int state);

    void open();

    void close();

    void run();

    void stop();
}
